#ifndef SUBSCRIBEDIALOG_H
#define SUBSCRIBEDIALOG_H

#include <QDialog>
#include <QCompleter>
namespace Ui {
    class SubscribeDialog;
}
/** Dialog that pops up when you add a podcast subscription. */
class SubscribeDialog : public QDialog
{
    Q_OBJECT

public:
    explicit SubscribeDialog(QWidget *parent = 0);
    ~SubscribeDialog();
    QString name() const;
    QString url() const;

private slots:
    void on_nameEdit_lostFocus();

private:
    QCompleter* m_urlCompleter;
    Ui::SubscribeDialog *ui;
};

#endif // SUBSCRIBEDIALOG_H
